<?php
namespace app\model;
use think\admin\Model;


/**
 * 订单成员
 */
class OrderMembers extends Model
{
    protected $table = "zuju_order_members";

    public function merchant()
    {
        return $this->belongsTo(Merchant::class, 'mid');
    }

    public function cassette()
    {
        return $this->belongsTo(Cassette::class, 'cid');
    }

    public function user(){
        return $this->belongsTo(Users::class,'uid');
    }

    public function order(){
        return $this->belongsTo(Orders::class,'oid');
    }
}